﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoAddClient
{
    public class DeviceTokenRandService : DotNet.Random.Abstract.StringAbsRandService
    {
        public DeviceTokenRandService()
        {
            this.Serial.Clear();
            var item = "0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f".Split(',');
            foreach (var it in item)
            {
                this.Serial.Add(it);
            }
        }

        public override string Rand()
        {
            var res = this.Build.Rand(this.Serial, 64);
            var str = string.Join("", res);
            return str;
        }
    }
}
